package com.wskj.workbench.vo.app;

import com.wskj.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;


/**
 * 客户收货地址信息视图对象 tz_user_receive
 *
 * @author wsdz
 * @date 2022-09-26
 */
@Data
@ApiModel("APP客户收货地址信息视图对象")
public class AppTbUserReceiveVo {

	private static final long serialVersionUID = 1L;

	/** 收货地址id */
	@ApiModelProperty("收货地址id")
	private Long receiveId;

	/** 关联客户id */
	@Excel(name = "关联客户id")
	@ApiModelProperty("关联客户id")
	private Long userId;

	/** 收货人姓名 */
	@Excel(name = "收货人姓名")
	@ApiModelProperty("收货人姓名")
	private String receiveName;

	/** 收货人电话 */
	@Excel(name = "收货人电话")
	@ApiModelProperty("收货人电话")
	private String receivePhone;

	/** 省ID */
	@ApiModelProperty("省ID")
	@NotNull(message = "省ID")
	private Long provinceId;

	/** 省 */
	@ApiModelProperty("省")
	@NotBlank(message = "省")
	private String province;

	/** 城市ID */
	@ApiModelProperty("城市ID")
	@NotBlank(message = "城市ID")
	private Long cityId;

	/** 城市 */
	@ApiModelProperty("城市")
	@NotNull(message = "城市")
	private String city;

	/** 区域ID */
	@ApiModelProperty("区域ID")
	@NotBlank(message = "区域ID")
	private Long areaId;

	/** 区 */
	@ApiModelProperty("区")
	@NotNull(message = "区")
	private String area;

	/** 详细地址 */
	@Excel(name = "详细地址")
	@ApiModelProperty("详细地址")
	private String address;

	/** 是否默认 1-是 0-否 */
	@Excel(name = "是否默认 1-是 0-否")
	@ApiModelProperty("是否默认 1-是 0-否")
	private Integer ifDefault;

	/** 性别 0:男 1：女 */
	@Excel(name = "性别 0:男 1：女")
	@ApiModelProperty("性别 0:男 1：女")
	private Integer sex;
}
